home *** CD-ROM | disk | FTP | other *** search
- on SwapCat
- if not soundBusy(4) then
- sound playFile 4, "@:sound:CATWINDO.AIF"
- end if
- set currentcast to the castNum of sprite 12
- puppetSprite(12, 1)
- if currentcast = 106 then
- repeat with i = 106 to 109
- FlushEm()
- set the castNum of sprite 12 to i
- PatDelay(0.125)
- updateStage()
- end repeat
- else
- repeat with i = 109 down to 106
- FlushEm()
- set the castNum of sprite 12 to i
- PatDelay(0.125)
- updateStage()
- end repeat
- end if
- end
-